import request from "@/utils/request"
import baseUrl from "./baseUrl"
import ports from "@/utils/ports"

export default {
	qywxAuthUrl: baseUrl + "/wx/a",
	login(username, password) {
		return request({
			url: ports.manage.login,
			method: "post",
			data: {
				username,
				password
			}
		})
	},
	getUserInfo() {
		return request({
			url: ports.admin.user.get,
			method: "post"
		})
	}
}
